<?php

declare(strict_types=1);

namespace App\CustHub\Model;

use Mine\MineModel;

/**
 * @property int $id 
 * @property int $main_uid 系统账号ID
 * @property int $uid 客服ID
 * @property string $name 分类名称
 * @property int $parent_id 父级ID
 * @property int $type 类型：0=个人 1=公共 2=部门
 * @property \Carbon\Carbon $created_at 
 * @property \Carbon\Carbon $updated_at 
 */
class ChTalkKeywordCate extends MineModel
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'ch_talk_keyword_cate';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'main_uid', 'uid', 'name', 'parent_id', 'type', 'created_at', 'updated_at'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'main_uid' => 'integer', 'uid' => 'integer', 'parent_id' => 'integer', 'type' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
}
